package com.pj.point.litepal;

import org.litepal.crud.LitePalSupport;

import java.util.List;

public class DiaryJavaBean extends LitePalSupport {
    private String createTime;
    private String updateTime;
    private String title;
    private List<CreateData> content;
    private boolean isPrivate = false;

    public boolean getIsPrivate() {
        return isPrivate;
    }

    public void setIsPrivate(boolean aPrivate) {
        isPrivate = aPrivate;
    }

    public DiaryJavaBean(String createTime, String updateTime, String title, List<CreateData> content) {
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.title = title;
        this.content = content;
    }


    public DiaryJavaBean(String createTime, String title, List<CreateData> content) {
        this.createTime = createTime;
        this.title = title;
        this.content = content;
    }

    public DiaryJavaBean() {
    }


    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<CreateData> getContent() {
        return content;
    }

    public void setContent(List<CreateData> content) {
        this.content = content;
    }
}
